/**
 * jims
 */
package com.jims.master.modules.doctor.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.doctor.entity.LiveRequisition;
import org.apache.ibatis.annotations.Param;

/**
 * 住院信息DAO接口
 * @author chentao
 * @version 2017-03-10
 */
@MyBatisDao
public interface LiveRequisitionDao extends CrudDao<LiveRequisition> {
    /**
     * 根据ClinicId查询住院通知表信息
     * @param
     * @return
     * @author chentao
     */
    public LiveRequisition getByClinicId(@Param("clinicId")String clinicId);

    /**
     * 修改住院通知单
     * @param clinicId
     * @return
     * @author chentao
     */
    public int updateRequisition(@Param("clinicId")String clinicId,LiveRequisition liveRequisition);

    /**
     * 修改入院标识
     * @author chentao
     * @param clinicId
     * @return
     */
    public int upDateInFlge(@Param("clinicId")String clinicId,@Param("inFlag")String inFlag);

    public LiveRequisition printInfo(@Param("clinicId")String clinicId,@Param("orgId")String orgId);
	
}